const { ObjectId } = require('mongodb');
const {
    FirstClass
} = require('../../../../model/goodFirstClass');

module.exports = async(req, res) => {
    console.log(req.param('id'))
    let data=await FirstClass.findOne({_id:ObjectId(req.param('id'))})
    console.log(data)
    res.send({ 'code': 0, "data": data });
}